package main

import (
	"net/http"
	"test/gee/day07/gee"
)

func main() {

	engine := gee.Default()
	engine.GET("/", func(c *gee.Context) {
		c.String(http.StatusOK, "hello gee")
	})

	engine.GET("/panic", func(c *gee.Context) {
		names := []string{"gee"}
		c.String(http.StatusOK, names[100])
	})

	engine.Run(":8080")
}
